Is it possible to respond to request from another method that the one defined in [OperationContract]

Posted by qbaa on Stack Overflow See other posts from Stack Overflow or by qbaa
Published on 2010-05-29T13:57:30Z Indexed on 2010/05/29 14:02 UTC
Read the original article Hit count: 196

Filed under:
|

Hi, as in the title, i have:

[ServiceContract]
    public interface IService
    {
        [OperationContract]
        [WebGet(UriTemplate="abc")]
        Stream GetResponse(Stream in);
    }

    public class Service : IService
    {
        public Stream GetResponse(Stream in)
        {
           some_function()
        }   
    }

is it possible to pass a request context to some other function that will respond to the request?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wcf